package com.pn.mapper;

import com.pn.model.AuthInfo;

import java.util.List;

public interface AuthInfoMapper {
    int deleteByPrimaryKey(Integer authId);

    int insert(AuthInfo record);

    int insertSelective(AuthInfo record);

    AuthInfo selectByPrimaryKey(Integer authId);

    int updateByPrimaryKeySelective(AuthInfo record);

    int updateByPrimaryKey(AuthInfo record);

    List<AuthInfo> findAuthByUid(int userId);
    //查询所有权限菜单树
    List<AuthInfo> findAllAuth();
}